package com.corffen.design;

import java.util.Locale;

public class CurrentWeather implements Observer {

    @Override
    public void update(float temperature, float humidity, float degree) {
        System.out.println(String.format(Locale.CHINA, "current temperature:%f,humidity:%f", temperature, humidity));
    }
}
